<!DOCTYPE html>
<html>
<head>
	<title>{$site_name}</title>
	<meta name="keywords" content="{$site_seo_keywords}" />
	<meta name="description" content="{$site_seo_description}">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

	<link href="__TMPL__Public/assets/css/header.css" rel="stylesheet" type="text/css">
	<link href="__TMPL__Public/assets/css/list.css" rel="stylesheet" type="text/css">
	<link href="__TMPL__Public/assets/css/base.css" rel="stylesheet" type="text/css">
	<link href="__TMPL__Public/assets/css/entrust.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="__TMPL__Public/assets/js/jquery-1.6.1.min.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/jquery.form.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/formValidator-4.1.1.js?8"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/formValidatorRegex.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/jquery.jcarousel.min.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/jquery.jqzoom-core.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/imall-countdown.js"></script>
	<style type="text/css">
	</style>
	<script type="text/javascript">
		var paramData={
			webRoot:"",
			page:"1",
			totalCount:"2",
			category:"1",
			q:"",
			keyword:"",
			order:"",
			productCollectCount:"",
			cookieNum:0
		}
	</script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/productlist.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/entrust.js"></script>
	<script type="text/javascript" src="__TMPL__Public/assets/js/productLeft.js"></script>

</head>

<body class="body-white">
<style>
	.pic a img{
		width: 220px;
	}
</style>
<tc_include file="Public:nav" />


<div class="list_main">
	<ul class="position">
		<li>
			<a href="/">首页</a>
            <if condition="!empty($cat_title)">
			<span>&gt;</span><a href="#" title="{$cat_title}">{$cat_title}</a>
            </if>
		</li>
	</ul>
	<ul class="list_m1">
		<li class="m1L">
			<div class="l_m1">
                <if condition="empty($cat_title)">
                    <div class="m1_layer"><i>产品分类</i></div>
                    <div class="m1_info">
                        <foreach name="cat_list" item="citem">
                        <a href="{:U('Product/list/index',array('tid'=>$citem['id']))}" title="{$citem.title}">{$citem.title}</a>
                        </foreach>
                        <div class="clear"></div>
                    </div>
                <else/>
                    <div class="m1_layer"><i>{$cat_title}</i></div>
                    <div class="m1_info">
                        <div class="clear"></div>
                    </div>
                </if>
			</div>
		</li>
        <if condition="$count==0">
            <div class="entrust-r">
                <div class="right-m1-bg">
                    <div class="right-m1">
                        <div class="info">
                            <p>抱歉！没有找到与"<span><php>echo I('get.keyword');</php></span>"相关的药品……</p>
                        </div>
                    </div>
                </div>
            </div>
        <else/>
		<li class="m1R">
			<div class="r_m3" style="margin-top: 0px;">
				<div class="r-m3-layer">
					<div class="l">为您搜索到的商品共有<span>{$count}</span>个  共<span>{$page_num}</span>页</div>
				</div>
			</div>

			<div class="r_m4">
				<div class="m4_box">
					<foreach name="list" item="litem">
						<php>
							$picture_arr = explode(",",$litem['pictures']);
							$picture = $picture_arr[0];
						</php>
						<div class="b_info" style="height: auto; width:994px; margin-left: 0px;margin-right: 0px;">
							<div class="pic" style="margin-left: 10px; float: left">
								<a href="{:U('product/detail/index')}&id={$litem.id}" title="{$litem.pname}" target="_blank">
									<img src="{:sp_get_image_preview_url($picture)}" alt="{$litem.pname}">
								</a>

							</div>
							<div style="margin: 10px auto 10px 10px; float: left; width: 709px;">
								<div class="title" style="margin-left: 0px; width: 750px;">
									<a href="{:U('product/detail/index')}&id={$litem.id}" title="{$litem.pname}" target="_blank" style="float: left">
										{$litem.pname}<i></i>
									</a>
									<div class="otc" style="float: left;"><a href="{:U('product/detail/index')}&id={$litem.id}" style="margin: 2px 0 0 8px;">OTC甲类非处方药</a></div>
								</div>

								{$litem.desc}
							</div>
						</div>
					</foreach>

					<div class="clear"></div>

					<tc_include file="Public:page" />

					<div class="clear"></div>
				</div>
			</div>
		</li>
            </if>
		<li class="clear"></li>
	</ul>
</div>

<tc_include file="Public:footer" />

</body>
</html>